*{
    margin: 0;
    padding: 0;
}
body {
    background-image: url("../img/back.jpeg");
}
li {
    list-style: none;
}
#box {
    position: relative;
    margin: 0 auto;
    width: 404px;
    height: 700px;
    border: 1px solid #000;
    overflow: hidden;
    background-image: url(/img/loginbackground.jpeg);
}
#main {
    position: relative;
    width: 404px;
    height: 700px;
    left: 0px;
    top: -140px;
    /* overflow: hidden; */
}
#box #main  .div1 {
    width: 404px;
    height: 140px;
}
#box #main .div1 div {
    float: left;
    width: 100px;
    height: 140px;
    background-color:#f4f4f4;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    cursor: pointer;
}


#move_game {
    display: none;
    position: absolute;
    text-align: center;
    top: 230px;
    left: 0px;
    width: 404px;
    height: 50px;
    /* border: 1px solid #000; */
    z-index: 10;
}
#move_game #btn_move {
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    width: 200px;
}

/* 游戏结束展示页面 */
#again_game {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 404px;
    height: 700px;
    background-image: url(/img/loginbackground.jpeg);
    z-index: 10;
}
#again_game span {
    font-size: 30px;
}
#again_game button {
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    font-size: 20px;
    width: 200px;
    height: 50px;
    cursor: pointer;
    border:none;
}
#again_game button:hover {
    background-color: rgba(199, 195, 195, 0.8);
}
#resultsul {
    margin:0 auto;
    margin-top: 20px;
    width: 300px;
    height: auto;
}
#resultsul li {
    text-align: center;
    list-style: none;
    font-size: 20px;
    width: 148px;
    line-height: 25px;
    height: 25px;
    float: left;
    border: 1px solid #999;
}
#again_game .fenshu_user {
    font-size: 20px;
    text-align: left;
    margin: 0 auto;
    margin-top: 10px;
    width: 404px;
    height: auto;
}
#again_game .fenshu_user span {
    color: #fff;
}
#again_game .currentp {
    margin: 0 auto;
    margin-top: 100px;
    text-align: center;
    font-size: 25px;
}
#again_game .currentp a {
    line-height: 100px;
    color: #fff;
    font-size: 35px;
}
#again_game .btn_p {
    margin-bottom: 30px;
}
#showpaimin {
    font-size: 10px;
}
#paiming {
    display: none;
    position: absolute;
    left: 52px;
    top: 100px;
    width: 300px;
    height: 200px;
    background-color: #e9e9e9;
    border-radius: 15px;
}

#paiming .exit {
    text-align: right;
    padding-right: 10px;
    padding-top: 10px;
    color: #000;
}
#paiming .exit span {
    font-size: 18px;
    cursor:default;
}
#paiming h4 {
    text-align: center;
    margin-bottom: 10px;
}
#paiming ul li {
    width: 148px;
    float: left;
    border: 1px solid lightsteelblue;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
}
#paiming ul li:nth-child(1) {
    text-align: center;
}
#paiming ul li:nth-child(even) {
    text-align: center;
}
#paiming ul li img {
    width: 30px;
    margin-left: 10px;
}
#paiming ul li span {
    font-size: 18px;
    margin-left: 20px;
}



/* 用户登入 */

#login {
    display: block;
    position: absolute;
    text-align: center;
    top: 150px;
    left: 30px;
    width: 350px;
    height: 300px;
    border-radius: 60px;
    z-index: 30;
    /* background-color: rgba(122, 122, 122, 0.2); */
    
}
/* 提示信息 */
.prompt {
    margin: 20px auto;
    color: red;
    font-size: 15px;
}
#login h3 {
    margin-top: 30px;
    font-size: 30px;
    color: #000;
}
#login p {
    text-align: center;
}

#login .ipt_user,#login .ipt_pwd {
    padding-left: 10px;
    width: 200px;
    height: 30px;
    border-radius: 20px;
    border: 2px solid #000;
    outline:none;
    font-size: 17px;
    color: #fff;
    background-color: transparent;
}
#login p span {
    text-align: center;
    font-size: 20px;
    color: #000;
}
#login .ipt_login {
    margin-top: 10px;
    margin-left: 40px;
    width: 160px;
    height: 40px;
    font-weight: bold;
    font-size: 17px;
    color: #000;
    border-radius: 20px;
    background-color:rgba(122, 122, 122, 0.5);
    border: 1px solid #000;
    border: none;
    cursor: pointer;
}
#login .ipt_login:hover {
    background-color: rgba(122, 122, 122, 0.2);
}
#login .huanyin {
    display: none;
    color: #fff;
}
/* 加载图 */
#loadimg {
    display: none;
    position: relative;
    left: 0px;
    top: -600px;
    width: 350px;
    height: 250px;
}
#laba {
    position: absolute;
    right: 0;
    top: 0px;
    width: 50px;
    z-index: 999;
    opacity: 0.7;
}